/*
 * @Author: GL
 * @Date: 2023-02-11 12:56:41
 * @LastEditors: GL
 * @LastEditTime: 2023-04-04 00:25:19
 * @Description: 用户收藏商品和发布商品的管理
 */
const express = require('express')
const releaseData = require('../router_handler/userRelease')
// 创建路由实例
const router = express.Router()
// 获取用户发布
router.get('/releaselist',releaseData.getRelease);
//取消发布(用户)
router.get('/cancel/:id',releaseData.cancelRelease);
// admin
router.get('/adminCancel/:id',releaseData.adminCanel)


module.exports = router
